<template>
    <div>
        <el-menu
                default-active="/index/index"
                class="el-menu-vertical-demo"
                background-color="#545c64"
                text-color="#fff"
                active-text-color="#ffd04b"
                router
        >
            <el-menu-item index="/index/index">
                <i class="el-icon-location"></i>
                <span slot="title">首页</span>
            </el-menu-item>
            <el-menu-item index="/index/staff">
                <i class="el-icon-menu"></i>
                <span slot="title">员工管理</span>
            </el-menu-item>
            <el-menu-item index="/index/user">
                <i class="el-icon-setting"></i>
                <span slot="title">用户管理</span>
            </el-menu-item>
            <el-menu-item index="/index/supplier">
                <i class="el-icon-setting"></i>
                <span slot="title">供应商管理</span>
            </el-menu-item>
        </el-menu>
    </div>
</template>

<script>
    export default {
        name: "LeaderNav"
    }
</script>

<style scoped>

</style>